package com.ynet.middleground.contract.dto;

import java.io.Serializable;
import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * @program: 2020-03-18
 * @description: 内管合约详情信息传输对象
 * @author: DaiGaoLe
 * @create: 2019-10-31 14:37
 **/
@Data
@ApiModel(value = "内管合约详情信息传输对象", description = "内管合约详情信息传输对象")
public class PortContractDto implements Serializable {

    private static final long serialVersionUID = 2618904883142610843L;
    /**
     * 合约id
     */
    @ApiModelProperty(value = "合约id", notes = "合约id", dataType = "Integer")
    private Integer id;

    /**
     * 上级合约id
     */
    @ApiModelProperty(value = "上级合约id", notes = "上级合约id", dataType = "Integer")
    private Integer parentId;

    /**
     * 模板id
     */
    @ApiModelProperty(value = "模板id", notes = "模板id", dataType = "Integer")
    private Integer templateId;

    /**
     * 业务流水号
     */
    @ApiModelProperty(value = "模板id", notes = "模板id", dataType = "String")
    private String serialNumber;

    /**
     * 渠道端业务id（档案依托渠道业务）
     */
    @ApiModelProperty(value = "渠道端业务id（档案依托渠道业务）", notes = "渠道端业务id（档案依托渠道业务）", dataType = "String")
    private String busId;

    /**
     * 合约编号
     */
    @ApiModelProperty(value = "合约编号", notes = "合约编号", dataType = "String")
    private String contractNo;

    /**
     * 合约状态：0-未签署（新建保存状态下）、1-签署中、2-已签署、3-已结束
     */
    @ApiModelProperty(value = "合约状态", notes = "合约状态", dataType = "String")
    private String status;

    /**
     * 渠道：C01-小贷，C02-保理，C03-青港易付，C04-财务信贷平台，C05-中台内管
     */
    @ApiModelProperty(value = " 渠道：C01-小贷，C02-保理，C03-青港易付，C04-财务信贷平台，C05-中台内管",
        notes = " 渠道：C01-小贷，C02-保理，C03-青港易付，C04-财务信贷平台，C05-中台内管", dataType = "String")
    private String channel;

    /**
     * 产品类型
     */
    @ApiModelProperty(value = "产品类型", notes = "产品类型", dataType = "String")
    private String productType;

    /**
     * 审批流程编号
     */
    @ApiModelProperty(value = "审批流程编号", notes = "审批流程编号", dataType = "String")
    private String appProcessNo;

    /**
     * 客户经理
     */
    @ApiModelProperty(value = "客户经理", notes = "客户经理", dataType = "String")
    private String customerManager;

    /**
     * 合约名称
     */
    @ApiModelProperty(value = "合约名称", notes = "合约名称", dataType = "String")
    private String contractName;

    /**
     * 签署时间
     */
    @ApiModelProperty(value = "签署时间", notes = "签署时间")
    private Date tsignatoryDate;

    /**
     * 签署方名称
     */
    @ApiModelProperty(value = "签署方名称", notes = "签署方名称", dataType = "String")
    private String signatoryName;

    /**
     * 非制式合约地址oss
     */
    @ApiModelProperty(value = "非制式合约地址oss", notes = "非制式合约地址oss", dataType = "String")
    private String nonStandardContractOss;

    /**
     * 生成后的合约地址oss地址
     */
    @ApiModelProperty(value = "生成后的合约地址oss地址", notes = "生成后的合约地址oss地址", dataType = "String")
    private String ossUrl;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间", notes = "创建时间")
    private Date gmtCreate;

    /**
     * 创建者
     */
    @ApiModelProperty(value = "创建者", notes = "创建者", dataType = "Integer")
    private Integer createBy;

    /**
     * 更新时间
     */
    @ApiModelProperty(value = "更新时间", notes = "更新时间")
    private Date gmtModified;

    /**
     * 更新者
     */
    @ApiModelProperty(value = "更新者", notes = "更新者", dataType = "Integer")
    private Integer modifiedBy;

    /**
     * 生成pdf后的合约地址oss地址
     */
    @ApiModelProperty(value = "生成pdf后的合约地址oss地址", notes = "生成pdf后的合约地址oss地址", dataType = "String")
    private String pdfOssUrl;

    /**
     * 合约类型的编号
     */
    @ApiModelProperty(value = "合约类型的编号", notes = "合约类型的编号", dataType = "String")
    private String contractTypeCode;

}
